<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<a href="?r=demo/zs&id=1"><button>排3</button></a>
<a href="?r=demo/zs&id=2"><button>排5</button></a>
<a href="?r=demo/zs&id=3"><button>22选5</button></a>
	<table border="10" align="center">
		<tr>
			<td>ID</td>
			<td>日期</td>
			<td>期号</td>
			<td>号码</td>
		</tr>
		<?php foreach ($data as $k => $v){ ?>
			<tr>
				<td><?php echo $v['id']?></td>
				<td><?php echo $v['kr']?></td>
				<td><?php echo $v['kq']?></td>
				<td><?php echo $v['kh']?></td>
			</tr>
		<?php } ?>
		
	</table>
</body>
</html>